package net.zzy.pbbot.util;

import org.springframework.stereotype.Component;

/**
 * @author zhuZhaoYang
 * @date 2021/9/24 13:28
 */
@Component
public class UrlUtil {
    private static final String LOCAL_URL = "http://localhost:9762/";

    public static String getNewsImageUrl(String imageUrl) {
        return LOCAL_URL + "getImage?imageUrl=" + imageUrl;
    }

    public static String getZfbLoginUrl(String schoolId, String stuId) {
        return "https://fxgl.jx.edu.cn/" + schoolId + "/public/homeQd?loginName=" + stuId + "&loginType=0";
    }

    public static String getZfbSaveUrl(String schoolId) {
        return "https://fxgl.jx.edu.cn/" + schoolId + "/studentQd/saveStu";
    }


}
